import enterNext from './enterNext'

const install = function (Vue) {
  Vue.directive('enterNext', enterNext)
}

if (window.Vue) {
  window['enterNext'] = enterNext
  Vue.use(install)
}

export default install
